package student;

import java.io.Serializable;

public class Student implements Serializable {
	private int stuno, gradeid;
	private String stuname, qq, wechat, telehphone, sex, address, fromcity;
	private String password;
	private String birthday;
	private String enterDate;

	public Student() {
	};

	public Student(int stuno, String stuname, String sex, String telehphone,
			String qq, String wechat, int gradeid, String enterDate,
			String fromcity, String birthday, String address, String pass) {
		super();
		this.stuno = stuno;
		this.gradeid = gradeid;
		this.stuname = stuname;
		this.qq = qq;
		this.wechat = wechat;
		this.telehphone = telehphone;
		this.sex = sex;
		this.address = address;
		this.fromcity = fromcity;
		this.password = password;
		this.birthday = birthday;
		this.enterDate = enterDate;
		this.pass = pass;
	}

	private transient String pass;

	public int getStuno() {
		return stuno;
	}

	public void setStuno(int stuno) {
		this.stuno = stuno;
	}

	public String getStuname() {
		return stuname;
	}

	public void setStuname(String stuname) {
		this.stuname = stuname;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getTelehphone() {
		return telehphone;
	}

	public void setTelehphone(String telehphone) {
		this.telehphone = telehphone;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public String getBirthday() {
		return birthday;
	}

	@Override
	public String toString() {
		return "Student [stuno=" + stuno + ", gradeid=" + gradeid
				+ ", stuname=" + stuname + ", qq=" + qq + ", wechat=" + wechat
				+ ", telehphone=" + telehphone + ", sex=" + sex + ", address="
				+ address + ", fromcity=" + fromcity + ", birthday=" + birthday
				+ ", enterDate=" + enterDate + "]";
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getEnterDate() {
		return enterDate;
	}

	public void setEnterDate(String enterDate) {
		this.enterDate = enterDate;
	}

	public int getGradeid() {
		return gradeid;
	}

	public void setGradeid(int gradeid) {
		this.gradeid = gradeid;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

}